package com.ruicar.afs.cloud.afscase.loanactivaterules.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description 激活规则配置实体类
 * @Author yk.Li
 * @Date 2020-05-21
 */

@Data
@TableName(value = "loan_activate_rules", autoResultMap = true)
@Accessors(chain = true)
public class LoanActivateRules extends BaseEntity<LoanActivateRules> {

    /**
     * 放款激活规则ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long rulesId;

    /**
     * 放款激活规则名称
     */
    private String rulesName;

    /**
     * 放款激活规则描述
     */
    private String rulesDesc;

    /**
     * 是否启用
     */
    private String isOpen;

    /**
     * 生效时间
     */
    private Date effectTime;

    /**
     * 失效时间
     */
    private Date uneffectTime;
}
